package com.qqtech.qquan.hi.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class HiRule extends BaseDomain {

	// columns START
	
	/**
	 * 分组类型
	 */
	private java.lang.Integer groupType;
	
	/**
	 * 计算类型;HiRuleCalculationTypeDictEnum
	 */
	private java.lang.Integer calculationType;

	/**
	 * 状态
	 */
	private java.lang.Integer status;

	/**
	 * 任务类型
	 */
	private java.lang.Integer taskType;

	/** 分类HiRuleClassifyEnum:1-注册;2-上传头像等等 */
	private java.lang.Integer classify;

	/** 条件:1-大于;2-等于;3-小于 */
	private java.lang.Integer compare;
	/** 条件值 */
	private java.lang.Integer compareValue;
	/** 规则名称 */
	private java.lang.String name;
	/** 规则描述 */
	private java.lang.String desc;

	/** 奖励荣誉值 */
	private java.lang.Integer honorValue;

	/** 奖励圈币值 */
	private java.lang.Integer quanValue;

	/** 每日上限次数,0表示没上限 */
	private java.lang.Integer limitDayTimes;
	/** 上限数量,前50个好友有奖励等 */
	private java.lang.Integer limitQuantity;
	// columns END
	public HiRule() {
	}
	public HiRule(java.lang.Integer id) {
		this.id = id;
	}

	public java.lang.Integer getCalculationType() {
		return calculationType;
	}

	public java.lang.Integer getClassify() {
		return this.classify;
	}

	public java.lang.Integer getCompare() {
		return this.compare;
	}

	public java.lang.Integer getCompareValue() {
		return this.compareValue;
	}

	public java.lang.String getDesc() {
		return this.desc;
	}

	public java.lang.Integer getGroupType() {
		return groupType;
	}

	public java.lang.Integer getHonorValue() {
		return honorValue;
	}

	public java.lang.Integer getLimitDayTimes() {
		return this.limitDayTimes;
	}

	public java.lang.Integer getLimitQuantity() {
		return this.limitQuantity;
	}

	public java.lang.String getName() {
		return this.name;
	}

	public java.lang.Integer getQuanValue() {
		return quanValue;
	}

	public java.lang.Integer getStatus() {
		return status;
	}

	public java.lang.Integer getTaskType() {
		return taskType;
	}

	public void setCalculationType(java.lang.Integer calculationType) {
		this.calculationType = calculationType;
	}

	public void setClassify(java.lang.Integer classify) {
		this.classify = classify;
	}

	public void setCompare(java.lang.Integer compare) {
		this.compare = compare;
	}

	public void setCompareValue(java.lang.Integer compareValue) {
		this.compareValue = compareValue;
	}

	public void setDesc(java.lang.String desc) {
		this.desc = desc;
	}

	public void setGroupType(java.lang.Integer groupType) {
		this.groupType = groupType;
	}

	public void setHonorValue(java.lang.Integer honorValue) {
		this.honorValue = honorValue;
	}

	public void setLimitDayTimes(java.lang.Integer limitDayTimes) {
		this.limitDayTimes = limitDayTimes;
	}

	public void setLimitQuantity(java.lang.Integer limitQuantity) {
		this.limitQuantity = limitQuantity;
	}

	public void setName(java.lang.String name) {
		this.name = name;
	}

	public void setQuanValue(java.lang.Integer quanValue) {
		this.quanValue = quanValue;
	}

	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public void setTaskType(java.lang.Integer taskType) {
		this.taskType = taskType;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}
}
